package com.qsbc.pygram.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsbc.pygram.entity.Checkpoint;

import com.qsbc.pygram.mapper.CheckpointMapper;


import com.qsbc.pygram.service.CheckpointService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2022-10-29
 */
@Service
public class CheckpointServiceImpl extends ServiceImpl<CheckpointMapper, Checkpoint> implements CheckpointService {
    @Resource
    private CheckpointMapper checkpointMapper;

    @Override
    public Page<Checkpoint> findPage(Page<Checkpoint> page, Integer id,String checkpointTitle) {
        return checkpointMapper.findPage(page, id, checkpointTitle);
    }


    @Override

    public Integer findByid(Checkpoint checkpoint) {
        return checkpointMapper.findByid(checkpoint);
    }


}



